package com.larry.tinyweb.core.annotation;


import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * Created by larry on 16/12/11.
 * @author larry
 *
 * Tiny Annocation (TA)
 * TA注解表示该类是一个组件类，将被Anntation注解加载器加载，可用来注入到其他类中
 */


@Target({ElementType.TYPE})
@Retention(RUNTIME)
public @interface TA {
    boolean singleton() default false;
}
